package nyx.dao.book;

import java.util.List;

import nyx.pojo.Book;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;


@Repository
public interface BookMapper {

	
	List<Book> queryAll(@Param("bId")int beginIndex,@Param("no")int pageSize);
	
	int totalCount();
	
	Book queryOneById(@Param("bId")int bId);
	
	int updateBookCount(@Param("bId")int bId,@Param("no")int no);
	
}
